package org.apache.dubbo.demo.provider.myspi;

import org.apache.dubbo.common.URL;

public class CarWrapper1 implements Car {

    private Car car;
    public CarWrapper1(Car car) {
        this.car = car;
    }

    @Override
    public void run(URL url) {
        System.out.println("哥哥存钱喽CarWrapper1.........");
        car.run(url);
        System.out.println("哥哥买车喽CarWrapper1.........");
    }

}
